import { get, post } from '../utils/request';

module.exports = {
  categoryList: () => {
    return get('user/category')
  },

  categoryUpdate: (id) => {
    return post('user/category/update', {
      category_id: id
    })
  }
}